{include file="header.tpl"}

   <h1>System Summary</h1>
   
   {include file="admin_sidebar.tpl"}

   <div id="content">
   
      <table id="admin_summary" frame="void" rules="none">
         <tr class="heading first">
            <td colspan="2">SiTrack Version:</td>
            <td class="right">{$spf.app_version}</td>
         </tr>
         <tr class="heading">
            <td colspan="2">Projects:</td>
            <td class="right">{$project_count}</td>
         </tr>
         <tr class="heading">
            <td colspan="2">Tickets:</td>
            <td class="right">{$ticket_count}</td>
         </tr>
         {foreach key=status item=count from=$ticket_data}
         <tr>
            <td>&nbsp;</td>
            <td>{$status|replace:'_':' '|lower|capitalize}:</td>
            <td class="right">{$count}</td>
         </tr>
         {/foreach}
         <tr class="heading">
            <td colspan="2">Users:</td>
            <td class="right">{$user_count}</td>
         </tr>
         {foreach key=status item=count from=$user_data}
         <tr>
            <td>&nbsp;</td>
            <td>{$status|replace:'_':' '|lower|capitalize}:</td>
            <td class="right">{$count}</td>
         </tr>
         {/foreach}
      </table>
      
   </div>
   
{include file="footer.tpl"}
